//
//  WeekHandleItem.h
//  CoolMove
//
//  Created by CA on 15/10/30.
//  Copyright © 2015年 CA. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WeekHandleItem : NSObject
@property (nonatomic, strong, readonly) NSString *startEndDateStr;        // 周一至周日
@property (nonatomic, strong, readonly) NSString *averageCalories;        // 平均能量消耗
@property (nonatomic, strong, readonly) NSString *averageSwingCount;      // 平均击球次数
@property (nonatomic, strong, readonly) NSString *averageSportDuration;   // 平均活跃时间
@property (nonatomic, strong, readonly) NSString *amountCalories;         // 总能量消耗
@property (nonatomic, strong, readonly) NSString *amountSwingCount;       // 总击球次数
@property (nonatomic, strong, readonly) NSString *maxSpeed;               // 最大拍速
@property (nonatomic, strong, readonly) NSString *amountSportDuration;    // 周活跃时间
@property (nonatomic, strong, readonly) NSDate *computeDate;              // 用于计算开始与结束星期
@property (nonatomic, assign, readonly) NSInteger maxYValue;            // 用于绘制图的最高值
@property (nonatomic, assign, readonly) NSInteger minYValue;            // 用于绘制图的最小值

- (void)addSportRecordItem:(SportRecordItem *)sportRecordItem;
- (instancetype)initEmptyItemWithDate:(NSDate *)date;
- (NSArray *)sportDurations;
- (NSArray *)sportSwings;
- (NSArray *)sportCalories;
- (BOOL)hasSportValue;


@end